import { TJshortcuts } from '@/utils/config'
import i18n from '@/utils/i18n'
export const formItems = [
    {
        filed: 'member',
        type: 'input',
        label: i18n.t('message.hyxx'),
        placeholder: i18n.t('message.hy2')
    },
    {
        filed: 'orderId',
        type: 'input',
        label: i18n.t('message.ddbh')
    },
    {
        filed: 'daterange',
        type: 'daterange',
        label: i18n.t('message.cjrq'),
        pickerOptions: {
            shortcuts: TJshortcuts
        }
    },
    {
        filed: 'inFlagName',
        type: 'input',
        label: i18n.t('message.productName'),
        placeholder: i18n.t('message.productName'),
        options: [
        ]
    },
    {
        filed: 'inFlag',
        type: 'select',
        label: i18n.t('message.rcpz'),
        placeholder: i18n.t('message.qb'),
        options: [
            { value: '42', label: i18n.t('message.mp') },
            { value: '32', label: i18n.t('message.cdyd') },
            { value: '41', label: i18n.t('message.tc') }
        ]
    },

    {
        filed: 'inType',
        type: 'select',
        label: i18n.t('message.rcfs'),
        placeholder: i18n.t('message.qb'),
        options: [
            { value: '3', label: i18n.t('message.ic') },
            { value: '1', label: i18n.t('message.ewm') },
            { value: '2', label: i18n.t('message.rl') }
        ]
    },
    {
        filed: 'out',
        type: 'select',
        label: i18n.t('message.sflc'),
        placeholder: i18n.t('message.qb'),
        options: [
            { value: '0', label: i18n.t('message.wlc') },
            { value: '1', label: i18n.t('message.ylc') }
        ]
    },


]
export const queryFormConfig = {
    formItems,
    online: true
}
